"""
数组的组合与拆分
"""
import numpy as np

ary = np.arange(1,7).reshape(2,3)
bry = np.arange(7,13).reshape(2,3)

res = np.dstack((ary,bry))
print(res)
print(res.shape)
print("*"*50)
ary,bry = np.dsplit(res,2)
print(ary)
print(bry)

# res1 = np.vstack((ary,bry))
# print(res1)
# print(res1.shape)

